<?php

namespace app\admin\controller;

use app\common\BaseJqGridController;
use app\model\SysMessage;

class MessageUnread extends BaseJqGridController {
	function _getPage($pageSize) {
		$message = new SysMessage ();
		$message->where ( 'state', '=', 0 );
		$message->where ( 'account', '=', $this->account );
		return $message->paginate ( $pageSize );
	}
	function _addHandler($param) {
	}
	function _editHandler($param) {
	}
	function _delHandler($id) {
	}
}
